package com.contest.quartz.task;

import com.alibaba.fastjson.JSON;
import com.contest.quartz.data.ScheduleJobInfo;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;

/**
 * 
* @Description: TODO()
* @ClassName: TaskTest
* @author lwb fzlwb@intretech.com
* @date 2017年8月14日 下午5:01:52
 */
@Component
public class TaskTest extends ScheduleJobInfo
{


	public final Logger logger = Logger.getLogger(this.getClass());

	public static void main(String[] args) {
		System.out.println(TaskTest.class.getName());
	}

	public void run()
	{
		System.out.println("======>>:" + JSON.toJSONString(this.getJob()));
	}
	
	public void run1()
	{
		for(int i = 0 ; i < 2 ; i++)
		{
			System.out.println("run1()----------" + i);
		}
	}
}
